/*
 * @Author: yushuaixm
 */
const { http } = uni.$zz


export const bsDetail = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/bsDetail', params, config)



export const bsOrderTime = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/bsOrderTime', params, config)



export const getBsSubject = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/getBsSubject', params, config)


export const manSubject = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/manSubject', params, config)

export const manTime = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/manTime', params, config)


export const getBsDate = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/getBsDate', params, config)

export const isShowBsOrderTimeDetail = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bs/isShowBsOrderTimeDetail', params, config)

export default { bsDetail, bsOrderTime, getBsSubject, manSubject, manTime, getBsDate, isShowBsOrderTimeDetail };